Receipt Text Format Registry entry
Specifies the format of the product lines that print on a receipt.
The receipt for a product comes in two sections: the first lists details about the products that have been ordered; the second lists details about any payment made. This Registry entry specifies the output format for the first section of the receipt.
Note: See Payment Text Format Registry entry for details about formatting the second section of the receipt.
Usage
This Registry entry is assigned to groups:
Key | Group |
---|---|
Key 1 | Group |
Key 2 | Default |
Key 3 | Table |
Key 4 | epos |
Key 5 | Receipt Text Format |
Value | column=format;column=format;... |
Group | Default | Table | epos | Receipt Text Format | column=format;column=format;... |
where:
column=format;column=format;... | is a semicolon separated list of column=format pairs. The column indicates from which column to get the data, and the format indicates how to print it. The format is built sequentially across the page. Headers for the columns are taken from their prompt property set in the Title Registry entry. All formats are printf style formats. |
Example
This entry specifies that the receipt will be formatted in four columns: the first contains the quantity ordered, the second the product ordered, the third the product price and the fourth the sub-total:
Key | Setting |
---|---|
Key 1 | Group |
Key 2 | Default |
Key 3 | Table |
Key 4 | epos |
Key 5 | Receipt Text Format |
Value | SalQuantity_tab=%-5s;SalProduct_tab=%-33s;SalPrice_tab=%8s;SalSubTotal_ta b=%10s |